<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Light-IOT</title>
    <style>
      body,#app{
        padding: 0;
        margin: 0;
        
      }
    </style>
  </head>
  <body>
    <div id="app">
      <style>
      
  .load-index span {
    width: 8vmin;
    height: 8vmin;
    border-radius: 4vmin;
    backface-visibility: hidden;
    position: absolute;
    animation-name: move;
    animation-timing-function: cubic-bezier(0.4, 0, 1, 0.8);
    animation-iteration-count: infinite;
    animation-duration: 3s;
    top: calc(50% - 4vmin);
    left: 50%;
    transform-origin: -4vmin center;
  
  
      &:nth-child(1) {
        background: #C5F0A4;
        animation-delay: -0.5s;
        opacity: 0;
      }
    
      &:nth-child(2) {
        background: #35B0AB;
        animation-delay: 0s;
        opacity: 0;
      }
      &:nth-child(3) {
        background: #226B80;
        animation-delay: 0.5s;
        opacity: 0;
      }
      &:nth-child(4) {
        background: #C5F0A4;
        animation-delay: 1s;
        opacity: 0;
      }
      &:nth-child(5) {
        background: #35B0AB;
        animation-delay: 1.5s;
        opacity: 0;
      }
      &:nth-child(6) {
        background: #226B80;
        animation-delay: 2s;
        opacity: 0;
      }
  }
  
  @keyframes move {
    0% {
      transform: scale(1) rotate(0deg) translate3d(0, 0, 1px);
    }
    30% {
      opacity: 1;
    }
    100% {
      z-index: 10;
      transform: scale(0) rotate(360deg) translate3d(0, 0, 1px);
    }
  }
      </style>
      <div class="load-index">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
      </div>
      
    </div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
